@font-face {
    font-family: "icons-turn-arrow";
    src: url("../fonts/icons/turn-arrow.eot") format("embedded-opentype"), url("../fonts/icons/turn-arrow.woff") format("woff"), url("../fonts/icons/turn-arrow.ttf") format("truetype"), url("../fonts/icons/turn-arrow.svg") format("svg");
}

html, body{
    background-color: #222;
    width: 100%;
    height: 100%;
}

.content {
    width: 100%;
    height: 100%;
}


.stage {
    position: relative;
    width: 100%;
    height: 100%;
}


.img-sec {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #ddd;
    perspective: 1800px;
}


.img-figure{
    position: absolute;
    width: 320px;
    height: 360px;
    margin: 0;
    padding: 40px;
    box-sizing: border-box;
    background-color: #fff;  
    cursor: pointer;
    transform-style: preserve-3d;
    transform-origin: 0 50% 0;
    transition: transform .6s ease-in-out, left .6s ease-in-out, top .6s ease-in-out;
}

.img-figure.is-inverse{
    transform: translate(320px) rotateY(180deg);
}

figcaption{
    text-align: center;
}

figcaption .img-title{
    margin: 20px 0 0 0;
    color: #a7a0a2;
    font-size: 16px;
}

figcaption .img-back {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  padding: 50px 40px;
  overflow: auto;

  color: #a7a0a2;
  font-size: 22px;
  line-height: 1.25;
  text-align: left;

  background-color: #fff;

  box-sizing: border-box;
  transform: rotateY(180deg) translateZ(1px);
  backface-visibility: hidden;
}

figcaption .img-back p{
    margin: 0;
}

.controller-nav{
  position: absolute;
  left:0;
  bottom: 30px;
  z-index: 101;
  width: 100%;
  text-align:center;
}


.controller-nav .controller-unit{
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border-radius: 50%;
    background-color: #aaa;
    transform: scale(.5);
    transition: transform .6s ease-in-out, background-color .3s;
}

.controller-nav .controller-unit.is-center{
    background-color: #888;
    transform: scale(1);  
}

.controller-nav .controller-unit.is-inverse{
    background-color: #555;
    transform: rotateY(180deg);  
}


.controller-nav .controller-unit.is-center::after {
    color: #fff;
    font-family: "icons-turn-arrow";
    content: "\e600";
    line-height: 30px;
    font-size: 80%;

    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
}
